﻿@{
    Layout = null;
}

<div class="row col-md-12 actions">
    <div ng-show="post.editing" class="pull-left">
        <button class="btn btn-primary" ng-click="saveChanges(post)">Save changes</button>
        <button class="btn btn-default" ng-click="editCancel(post)">cancel</button>
    </div>
    <div ng-hide="post.editing" class="pull-left">
        <button class="btn btn-default" ng-click="edit(post)">edit</button>
        <button class="btn btn-default">delete</button>
    </div>
</div>